Element.prototype.insertAfter=function(newEl,refEl){try{
	if(refEl.parentNode!=this)
		throw("Reference Node is not child of element.");
	
	if(refEl.nextSibling)
		this.insertBefore(newEl,refEl.nextSibling);
	else
		this.appendChild(newEl);
	
	return newEl;
}catch(e){trace(e);}};